<?php 
if (! defined('BASEPATH')) {
	exit('Access Denied');
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>用户登录</title>
<link type="text/css" href="<?php echo base_url() ;?>/static/css/bootstrap.css" rel="stylesheet" />
<link  type="text/css" href="<?php echo base_url() ;?>/static/css/bootstrap-responsive.css" rel="stylesheet" />
<link  type="text/css" href="<?php echo base_url() ;?>/static/css/extends.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo base_url() ;?>/static/js/jquery-1.7.2.min.js"></script>
<script src="<?php echo base_url();?>/static/js/validate/validator.js" language="javascript"></script>
</head>
<body>
<div class="body2">
	<div class="wrap">
		<div class="le">
			<div class="logo"><img src="<?php echo base_url() ;?>static/img/logo.png" /></div>
			<!--mod_regist_nav start-->
			<a hidefocus="true" href="javascript:;" class="slide_top fix" style="top: 20px; height: 22px;"> 
				<span class="down_txt" style="display: inline;">安装G家<span class="autoreg_txt">自动为您注册</span></span>
			</a>
			<div class="mod_regist_nav">
				<ul>
					<li name="registPhone" class="">
						<a class="btn_phone" hidefocus="true" href="javascript:void(0);">
							<span class="icon miniHide"></span> 手机登录
						</a>
						<span class="arrow miniHide"></span>
					</li>
					<li name="registMail">
						<a class="btn_mail" hidefocus="true" href="javascript:void(0);">
							<span class="icon miniHide"></span> 邮箱登录
						</a>
						<span class="arrow miniHide"></span>
					</li>
					<li name="registCustom" class="cur">
						<a hidefocus="true" class="tipsExtendedBtn btn_custom" href="javascript:void(0);">
							<span class="icon miniHide"></span> QQ登录
						</a>
						<span class="arrow miniHide"></span> 
					</li>		
				</ul>
			</div>
			<!--mod_regist_nav end-->
			<!--loginForm start -->
			<div class="loginForm">
			<form name="form1" id="form1" method="post" action="<?php echo site_url('login/do_login');?>">
				<br clear="both" />
				<dl class="inputwp">
					<dt>QQ号码:</dt>
					<dd>
						<input type="text"  tabindex="10"  name="uname" class="text username" required="true" errmsg="请输入3-16个字符" tip="请输入3-16个字符">
					</dd>
				</dl>
				<br clear="both" />
				<dl class="inputwp">
					<dt>QQ密码:</dt>
					<dd>
						<input type="password"  tabindex="10" name="passwd" class="text username" required="true" errmsg="请输入密码" tip="请输入密码">
					</dd>
				</dl>
				<br clear="both" />
				<dl class="inputwp">
					<dt>验证码:</dt>
					<dd>
					
						<input type="text"  tabindex="10"  name="yzm" class="yzm" required="true"> <?php echo $cap ;?>
					</dd>
				</dl>
				<br clear="both" />
				<dl class="inputwp">
					<dt></dt>
					<dd>
						<input type="submit"  tabindex="10"  name="username" value="  " class="submit_btn" id="">
					</dd>
				</dl>
				
			</form>
			</div>
			<!--loginForm end-->
		</div>
		<div class="ri">
			<div class="ad1">
				<img src="<?php echo base_url() ;?>static/img/app_ad_401.jpg" />
			</div>
			<div class="ad2">
				<img src="<?php echo base_url() ;?>static/img/bf_ad.jpg" />
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" src="<?php echo base_url() ;?>/static/js/bootstrap.js"></script>
<script type="text/javascript">
$(document).ready(function() {
//提交
$("#btnSave").click(function(){
    if($("#form1").Valid() == false || !$("#newform").Valid()) return false;
});

});
</script>
</body>
</html>